function bar() {
    var myName = '极客世界';
    let text1 = 100;
    if (1) {
        let myName = 'Chrome 浏览器';
        console.log(text);
    }
}
function foo() {
    var myName = '极客邦';
    let text = 2;
    {
        let text = 3;
        bar();
    }
}
var myName = '极客时间';
let myAge = 18;
let text = 1;
foo();